package com.jiyun.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/* *
 * @Author nxj
 * @Date 2023 08 2023/8/8 11 20
 * */
@Data
@ToString
public class Quiz {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String qname;
    private Integer tid;
    private String lid;
    private Integer status;
    private Integer sort;
    private String photo;
    private String uid;
    private String redu;
    private String wancheng;
    private Integer defen;
    @JsonFormat(pattern = "yyyy/MM/dd hh:mm:ss")
    private Date gotime;
    private String yongshi;

    @TableField(exist = false)
    private Integer count;
    @TableField(exist = false)
    private String cid;
    @TableField(exist = false)
    private Integer num;
}
